package cloneable;

public class MyObject implements Cloneable {
    private final String name;

    public MyObject(String name) {
        this.name = name;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
